package customer

import (
	"context"
	pb "git.mycaigou.com/gfyx/micro-gfyx-user-service/proto/micro_gfyx_user_service_proto/micro-gfyx-user-service"
)

type CustomerGroupServiceIface interface {
	Save(ctx context.Context, request *pb.SaveCustomerGroupRequest) (*pb.SaveCustomerGroupResponse, error)
	List(ctx context.Context, request *pb.GetCustomerGroupListRequest) (*pb.GetCustomerGroupListResponse, error)
	Detail(ctx context.Context, request *pb.GetCustomerGroupDetailRequest) (*pb.GetCustomerGroupDetailResponse, error)
	Delete(ctx context.Context, request *pb.DeleteCustomerGroupRequest) (*pb.DeleteCustomerGroupResponse, error)
	SyncCustomerGroupTotal(ctx context.Context) error
}
